<!doctype html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>Paste Type Examples</title>
    <style>
        form {
            margin: 0;
        }

        textarea {
            display: block;
        }
    </style>
    <script charset="utf-8" src="../kindeditor-min.js"></script>
    <script charset="utf-8" src="../lang/zh_CN.js"></script>
    <script>
        KindEditor.ready(function (K) {
            K.create('#content1', {
                pasteType:0
            });
            K.create('#content2', {
                pasteType:1
            });
            K.create('#content3', {
                pasteType:2
            });
        });
    </script>
</head>
<body>
<h3>禁止粘贴</h3>
<textarea id="content1" name="content" style="width:700px;height:200px;visibility:hidden;"></textarea>

<h3>纯文本粘贴</h3>
<textarea id="content2" name="content" style="width:700px;height:200px;visibility:hidden;"></textarea>

<h3>HTML粘贴</h3>
<textarea id="content3" name="content" style="width:700px;height:200px;visibility:hidden;"></textarea>
</body>
</html>
